// ------------------------------------------------------ Naming ------------------------------------------------------
Name Kamov Ka-28 Helix China
ShortName Ka-28_China
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconka28_china
Model pla.ka28_china
Texture ka28_china
//Third Person Camera Distance
CameraDistance 18.0
//Resting Pitch. Set this so the plane spawns level. It will fall onto its collision boxes automatically, but this lets you start it flat
RestingPitch 0.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Mode : One of Plane, Heli or VTOL. The VTOL has a toggle button that switches some model aesthetics and the flight mode
Mode Heli
//Throttle
MaxThrottle 4.5
MaxNegativeThrottle 0.0
//Yaw modifiers
TurnLeftSpeed 2.5
TurnRightSpeed 2.5
//Pitch modifiers
LookUpSpeed 2.5
LookDownSpeed 2
//Roll modifiers
RollLeftSpeed 2.5
RollRightSpeed 2.5
//Drag 1.0 is standard. Modify to make the plane / heli more or less sluggish
Drag 1.0
//Lift
//Lift 3.0
//Wheels (Fake wheels imitating skids)
NumWheels 4
WheelPosition 0 -19 -10 -16
WheelPosition 1 -19 -10 16
WheelPosition 2 26 -10 16
WheelPosition 3 26 -10 -16
WheelSpringStrength 0.125
//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
HeliPropeller 0 1 108 0 blades Repair
HeliPropeller 0 1 79 0 blades Repair
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary None
Secondary None
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 60
ShootDelaySecondary 60
//Whether to alternate or fire all together
AlternatePrimary True
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 6
ShellSlots 1
BombSlots 0
AllowAllAmmo False
AddAmmo ModernTorpedo
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 4000
flightCeiling 600
helipadLandable true
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 43 19 -9
Passengers 3
Passenger 1 39 19 9 core
Passenger 2 -32 19 -2 core -160 -60 -45 45 rpd PassengerGun2
Passenger 3 23 19 7 core
GunOrigin 2 32 31 15
// ------------------------------------------------------ Sounds ------------------------------------------------------
StartSound HelicopterStart
StartSoundLength 100
PropSound Helicopter2
PropSoundLength 93
ShootSoundPrimary MissileShoot
ShootSoundSecondary 
// ------------------------------------------------------ Recipe ------------------------------------------------------
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 12 Repair
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 6 gray
AddDye 4 black
// ------------------------------------------------------ Health and hitboxes ------------------------------------------------------
SetupPart core 400 -76 9 -19 135 61 38
BulletDetection 50
HasFlare True
FlareDelay 30
FlareSound Flare
TimeFlareUsing 5
ModelScale 1
IsExplosionWhenDestroyed true